<!doctype html public "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<html>
<head>
    <title>PHPXRef 0.7 : OpenSSO PHP Library 1.5.1 : /config.php source</title>
    <link rel="stylesheet" href="sample.css" type="text/css">
    <link rel="stylesheet" href="sample-print.css" type="text/css" media="print">
    <style id="hilight" type="text/css"></style>
    <meta http-equiv="content-type" content="text/html;charset=utf-8">
</head>
<body bgcolor="#ffffff" text="#000000" link="#801800" vlink="#300540" alink="#ffffff">
<table class="pagetitle" width="100%">
	<tr>
        <td valign="top" class="pagetitle">
            [ <a href="index.html">Index</a> ]
        </td>
        <td align="right" class="pagetitle">
		    <h2 style="margin-bottom: 0px">PHP Cross Reference of OpenSSO PHP Library 1.5.1</h2>
	    </td>
    </tr>
</table>


<!-- Generated by PHPXref 0.7 at Fri Jan  8 00:38:44 2010 -->
<!-- PHPXref (c) 2000-2007 Gareth Watts - gareth@omnipotent.net -->
<!-- http://phpxref.sourceforge.net/ -->

<script src="phpxref.js" type="text/javascript"></script>
<script language="JavaScript" type="text/javascript">
<!--
ext='.html';
relbase='';
subdir='';
filename='config.php.source.html';
cookiekey='opensso-phplib_1.5';
handleNavFrame(relbase, subdir, filename);

// -->
</script>
<script language="JavaScript" type="text/javascript">
if (gwGetCookie('xrefnav')=='off')
  document.write('<p class="navlinks">[ <a href="javascript:navOn()">Show Explorer<\/a> ]<\/p>');
else
  document.write('<p class="navlinks">[ <a href="javascript:navOff()">Hide Explorer<\/a> ]<\/p>');
</script>
<noscript>
<p class="navlinks">
[ <a href="nav.html" target="_top">Show Explorer</a> ]
[ <a href="index.html" target="_top">Hide Navbar</a> ]
</p>
</noscript>
<script language="JavaScript" type="text/javascript">
<!--

document.writeln('<table align="right" class="searchbox-link"><tr><td><a class="searchbox-link" href="javascript:void(0)" onMouseOver="showSearchBox()">Search</a><br>');
document.writeln('<table border="0" cellspacing="0" cellpadding="0" class="searchbox" id="searchbox">');
document.writeln('<tr><td class="searchbox-title">');
document.writeln('<a class="searchbox-title" href="javascript:showSearchPopup()">Search History +</a>');
document.writeln('<\/td><\/tr>');

document.writeln('<tr><td class="searchbox-body" id="searchbox-body">');
document.writeln('<form name="search" style="margin:0px; padding:0px" onSubmit=\'return jump()\'>');
document.writeln('<a class="searchbox-body" href="_classes/index.html">Class<\/a>: ');
document.writeln('<input type="text" size=10 value="" name="classname"><br>');
document.writeln('<a id="funcsearchlink" class="searchbox-body" href="_functions/index.html">Function<\/a>: ');
document.writeln('<input type="text" size=10 value="" name="funcname"><br>');
document.writeln('<a class="searchbox-body" href="_variables/index.html">Variable<\/a>: ');
document.writeln('<input type="text" size=10 value="" name="varname"><br>');
document.writeln('<a class="searchbox-body" href="_constants/index.html">Constant<\/a>: ');
document.writeln('<input type="text" size=10 value="" name="constname"><br>');
document.writeln('<a class="searchbox-body" href="_tables/index.html">Table<\/a>: ');
document.writeln('<input type="text" size=10 value="" name="tablename"><br>');
document.writeln('<input type="submit" class="searchbox-button" value="Search">');
document.writeln('<\/form>');
document.writeln('<\/td><\/tr><\/table>');
document.writeln('<\/td><\/tr><\/table>');
// -->
</script>
<div id="search-popup" class="searchpopup"><p id="searchpopup-title" class="searchpopup-title">title</p><div id="searchpopup-body" class="searchpopup-body">Body</div><p class="searchpopup-close"><a href="javascript:gwCloseActive()">[close]</a></p></div>
<h2 class="listing-heading"><a href="./index.html">/</a> -> <a href="config.php.html">config.php</a> (source)</h2>
<div class="listing">
<p class="viewlinks">[<a href="config.php.html">Summary view</a>]
[<a href="javascript:window.print();">Print</a>]
[<a href="config.php.source.txt" target="_new">Text view</a>]
</p>
<pre>
<a name="l1"><span class="linenum">   1</span></a>  &lt;?php
<a name="l2"><span class="linenum">   2</span></a>  <span class="comment">/**</span>
<a name="l3"><span class="linenum">   3</span></a>  <span class="comment"> * Config file for OpenSSO PHP library.</span>
<a name="l4"><span class="linenum">   4</span></a>  <span class="comment"> *</span>
<a name="l5"><span class="linenum">   5</span></a>  <span class="comment"> * Set the Service Provider software in the 'shibSp' config!</span>
<a name="l6"><span class="linenum">   6</span></a>  <span class="comment"> * Read the 'Usage' information, that contains the Service Provider softwares that uses the config.</span>
<a name="l7"><span class="linenum">   7</span></a>  <span class="comment"> *  </span>
<a name="l8"><span class="linenum">   8</span></a>  <span class="comment"> * @category   OpenSSO_PHP</span>
<a name="l9"><span class="linenum">   9</span></a>  <span class="comment"> * @package    OpenSSO_PHP </span>
<a name="l10"><span class="linenum">  10</span></a>  <span class="comment"> * @link       http://kir-dev.sch.bme.hu/opensso-phplib/</span>
<a name="l11"><span class="linenum">  11</span></a>  <span class="comment"> * @author     Pásztor Gergő &lt;pairghu@gmail.com&gt; from KirDev &lt;kir-dev@sch.bme.hu&gt;</span>
<a name="l12"><span class="linenum">  12</span></a>  <span class="comment"> * @copyright  Copyright (c) 2009, KirDev</span>
<a name="l13"><span class="linenum">  13</span></a>  <span class="comment"> * @license    http://www.opensource.org/licenses/gpl-license.php GPL  </span>
<a name="l14"><span class="linenum">  14</span></a>  <span class="comment"> * @filesource</span>
<a name="l15"><span class="linenum">  15</span></a>  <span class="comment"> * </span>
<a name="l16"><span class="linenum">  16</span></a>  <span class="comment"> * @version 1.5.1</span>
<a name="l17"><span class="linenum">  17</span></a>  <span class="comment"> */</span>
<a name="l18"><span class="linenum">  18</span></a>  
<a name="l19"><span class="linenum">  19</span></a>  <span class="comment">// Exit before anything else</span>
<a name="l20"><span class="linenum">  20</span></a>  if(!<a class="phpfunction" onClick="logFunction('defined')" href="_functions/defined.html" onMouseOver="phpfuncPopup(event,'defined')">defined</a>('<a class="constant" onClick="logConstant('SSOCONFIG')" href="_constants/SSOCONFIG.html" onMouseOver="constPopup(event,'SSOCONFIG')">SSOCONFIG</a>')) die('No direct script access allowed');
<a name="l21"><span class="linenum">  21</span></a>  
<a name="l22"><span class="linenum">  22</span></a>  <span class="comment">/*</span>
<a name="l23"><span class="linenum">  23</span></a>  <span class="comment">|--------------------------------------------------------------------------</span>
<a name="l24"><span class="linenum">  24</span></a>  <span class="comment">| Shibboleth Service Provider</span>
<a name="l25"><span class="linenum">  25</span></a>  <span class="comment">|--------------------------------------------------------------------------</span>
<a name="l26"><span class="linenum">  26</span></a>  <span class="comment">|</span>
<a name="l27"><span class="linenum">  27</span></a>  <span class="comment">| You use Shibboleth or OpenSSO service provider software?</span>
<a name="l28"><span class="linenum">  28</span></a>  <span class="comment">| If you use Shibboleth set it to 'TRUE'.</span>
<a name="l29"><span class="linenum">  29</span></a>  <span class="comment">| Type: bool</span>
<a name="l30"><span class="linenum">  30</span></a>  <span class="comment">| Default: FALSE</span>
<a name="l31"><span class="linenum">  31</span></a>  <span class="comment">| Usage: OpenSSO, Shibboleth</span>
<a name="l32"><span class="linenum">  32</span></a>  <span class="comment">|</span>
<a name="l33"><span class="linenum">  33</span></a>  <span class="comment">*/</span>
<a name="l34"><span class="linenum">  34</span></a>  <a class="var it6" onMouseOver="hilite(6)" onMouseOut="lolite()" onClick="logVariable('config')" href="_variables/config.html">$config</a>['shibSp'] = TRUE;
<a name="l35"><span class="linenum">  35</span></a>  
<a name="l36"><span class="linenum">  36</span></a>  <span class="comment">/*</span>
<a name="l37"><span class="linenum">  37</span></a>  <span class="comment">|--------------------------------------------------------------------------</span>
<a name="l38"><span class="linenum">  38</span></a>  <span class="comment">| Logout the user in Identity Provider</span>
<a name="l39"><span class="linenum">  39</span></a>  <span class="comment">|--------------------------------------------------------------------------</span>
<a name="l40"><span class="linenum">  40</span></a>  <span class="comment">|</span>
<a name="l41"><span class="linenum">  41</span></a>  <span class="comment">| If you use Shibboleth Service Provider and set this config to 'TRUE' the</span>
<a name="l42"><span class="linenum">  42</span></a>  <span class="comment">| application logout the user in the Identity Provider.</span>
<a name="l43"><span class="linenum">  43</span></a>  <span class="comment">| WARNING: The other Shibboleth applications can't logout automatically!</span>
<a name="l44"><span class="linenum">  44</span></a>  <span class="comment">| Type: bool</span>
<a name="l45"><span class="linenum">  45</span></a>  <span class="comment">| Default: TRUE</span>
<a name="l46"><span class="linenum">  46</span></a>  <span class="comment">| Usage: Shibboleth</span>
<a name="l47"><span class="linenum">  47</span></a>  <span class="comment">|</span>
<a name="l48"><span class="linenum">  48</span></a>  <span class="comment">*/</span>
<a name="l49"><span class="linenum">  49</span></a>  <a class="var it6" onMouseOver="hilite(6)" onMouseOut="lolite()" onClick="logVariable('config')" href="_variables/config.html">$config</a>['shibIdpLogout'] = TRUE;
<a name="l50"><span class="linenum">  50</span></a>  
<a name="l51"><span class="linenum">  51</span></a>  <span class="comment">/*</span>
<a name="l52"><span class="linenum">  52</span></a>  <span class="comment">|--------------------------------------------------------------------------</span>
<a name="l53"><span class="linenum">  53</span></a>  <span class="comment">| Useing SSL (HTTPS)</span>
<a name="l54"><span class="linenum">  54</span></a>  <span class="comment">|--------------------------------------------------------------------------</span>
<a name="l55"><span class="linenum">  55</span></a>  <span class="comment">|</span>
<a name="l56"><span class="linenum">  56</span></a>  <span class="comment">| Useing SSL after the user logged in?</span>
<a name="l57"><span class="linenum">  57</span></a>  <span class="comment">| If you use Shibboleth the program overwrite this config with 'TRUE' value.</span>
<a name="l58"><span class="linenum">  58</span></a>  <span class="comment">| Type: bool</span>
<a name="l59"><span class="linenum">  59</span></a>  <span class="comment">| Default: TRUE</span>
<a name="l60"><span class="linenum">  60</span></a>  <span class="comment">| Usage: OpenSSO</span>
<a name="l61"><span class="linenum">  61</span></a>  <span class="comment">|</span>
<a name="l62"><span class="linenum">  62</span></a>  <span class="comment">*/</span>
<a name="l63"><span class="linenum">  63</span></a>  <a class="var it6" onMouseOver="hilite(6)" onMouseOut="lolite()" onClick="logVariable('config')" href="_variables/config.html">$config</a>['ssl'] = TRUE;
<a name="l64"><span class="linenum">  64</span></a>  
<a name="l65"><span class="linenum">  65</span></a>  <span class="comment">/*</span>
<a name="l66"><span class="linenum">  66</span></a>  <span class="comment">|--------------------------------------------------------------------------</span>
<a name="l67"><span class="linenum">  67</span></a>  <span class="comment">| User's name from Identity Provider</span>
<a name="l68"><span class="linenum">  68</span></a>  <span class="comment">|--------------------------------------------------------------------------</span>
<a name="l69"><span class="linenum">  69</span></a>  <span class="comment">|</span>
<a name="l70"><span class="linenum">  70</span></a>  <span class="comment">| The elements of the _SERVER variable, that cointains the user's name.</span>
<a name="l71"><span class="linenum">  71</span></a>  <span class="comment">| Type: string</span>
<a name="l72"><span class="linenum">  72</span></a>  <span class="comment">| Default: REMOTE_USER</span>
<a name="l73"><span class="linenum">  73</span></a>  <span class="comment">| Usage: OpenSSO, Shibboleth</span>
<a name="l74"><span class="linenum">  74</span></a>  <span class="comment">|</span>
<a name="l75"><span class="linenum">  75</span></a>  <span class="comment">*/</span>
<a name="l76"><span class="linenum">  76</span></a>  <a class="var it6" onMouseOver="hilite(6)" onMouseOut="lolite()" onClick="logVariable('config')" href="_variables/config.html">$config</a>['userName'] = 'REMOTE_USER';
<a name="l77"><span class="linenum">  77</span></a>  
<a name="l78"><span class="linenum">  78</span></a>  <span class="comment">/*</span>
<a name="l79"><span class="linenum">  79</span></a>  <span class="comment">|--------------------------------------------------------------------------</span>
<a name="l80"><span class="linenum">  80</span></a>  <span class="comment">| User's groups from Identity Provider</span>
<a name="l81"><span class="linenum">  81</span></a>  <span class="comment">|--------------------------------------------------------------------------</span>
<a name="l82"><span class="linenum">  82</span></a>  <span class="comment">|</span>
<a name="l83"><span class="linenum">  83</span></a>  <span class="comment">| The elements of the _SERVER variable, that cointains the user's groups.</span>
<a name="l84"><span class="linenum">  84</span></a>  <span class="comment">| Type: string</span>
<a name="l85"><span class="linenum">  85</span></a>  <span class="comment">| Default: HTTP_EDUPERSONENTITLEMENT</span>
<a name="l86"><span class="linenum">  86</span></a>  <span class="comment">| Usage: OpenSSO, Shibboleth</span>
<a name="l87"><span class="linenum">  87</span></a>  <span class="comment">|</span>
<a name="l88"><span class="linenum">  88</span></a>  <span class="comment">*/</span>
<a name="l89"><span class="linenum">  89</span></a>  <a class="var it6" onMouseOver="hilite(6)" onMouseOut="lolite()" onClick="logVariable('config')" href="_variables/config.html">$config</a>['userGroups'] = 'HTTP_EDUPERSONENTITLEMENT';
<a name="l90"><span class="linenum">  90</span></a>  
<a name="l91"><span class="linenum">  91</span></a>  <span class="comment">/*</span>
<a name="l92"><span class="linenum">  92</span></a>  <span class="comment">|--------------------------------------------------------------------------</span>
<a name="l93"><span class="linenum">  93</span></a>  <span class="comment">| User's VIRID from Identity Provider</span>
<a name="l94"><span class="linenum">  94</span></a>  <span class="comment">|--------------------------------------------------------------------------</span>
<a name="l95"><span class="linenum">  95</span></a>  <span class="comment">|</span>
<a name="l96"><span class="linenum">  96</span></a>  <span class="comment">| The elements of the _SERVER variable, that cointains the user's VIRID.</span>
<a name="l97"><span class="linenum">  97</span></a>  <span class="comment">| Type: string</span>
<a name="l98"><span class="linenum">  98</span></a>  <span class="comment">| Default: HTTP_VIRID</span>
<a name="l99"><span class="linenum">  99</span></a>  <span class="comment">| Usage: OpenSSO, Shibboleth</span>
<a name="l100"><span class="linenum"> 100</span></a>  <span class="comment">|</span>
<a name="l101"><span class="linenum"> 101</span></a>  <span class="comment">*/</span>
<a name="l102"><span class="linenum"> 102</span></a>  <a class="var it6" onMouseOver="hilite(6)" onMouseOut="lolite()" onClick="logVariable('config')" href="_variables/config.html">$config</a>['userVirid'] = 'HTTP_VIRID';
<a name="l103"><span class="linenum"> 103</span></a>  
<a name="l104"><span class="linenum"> 104</span></a>  <span class="comment">/*</span>
<a name="l105"><span class="linenum"> 105</span></a>  <span class="comment">|--------------------------------------------------------------------------</span>
<a name="l106"><span class="linenum"> 106</span></a>  <span class="comment">| User data from Identity Provider</span>
<a name="l107"><span class="linenum"> 107</span></a>  <span class="comment">|--------------------------------------------------------------------------</span>
<a name="l108"><span class="linenum"> 108</span></a>  <span class="comment">|</span>
<a name="l109"><span class="linenum"> 109</span></a>  <span class="comment">| The elements of the _SERVER variable, that contains the user's data.</span>
<a name="l110"><span class="linenum"> 110</span></a>  <span class="comment">| We recommend these:</span>
<a name="l111"><span class="linenum"> 111</span></a>  <span class="comment">| - 'email': 'HTTP_EMAIL'</span>
<a name="l112"><span class="linenum"> 112</span></a>  <span class="comment">| - 'firstname': 'HTTP_FIRSTNAME'</span>
<a name="l113"><span class="linenum"> 113</span></a>  <span class="comment">| - 'lastname': 'HTTP_LASTNAME'</span>
<a name="l114"><span class="linenum"> 114</span></a>  <span class="comment">| - 'nickname': 'HTTP_NICKNAME'</span>
<a name="l115"><span class="linenum"> 115</span></a>  <span class="comment">| - 'common_name': 'HTTP_COMMON_NAME'</span>
<a name="l116"><span class="linenum"> 116</span></a>  <span class="comment">| Type: array</span>
<a name="l117"><span class="linenum"> 117</span></a>  <span class="comment">| Syntax: array( '&lt;data name&gt;' =&gt; '&lt;_SERVER's element name&gt;', ... );</span>
<a name="l118"><span class="linenum"> 118</span></a>  <span class="comment">| Default: -</span>
<a name="l119"><span class="linenum"> 119</span></a>  <span class="comment">| Usage: OpenSSO, Shibboleth</span>
<a name="l120"><span class="linenum"> 120</span></a>  <span class="comment">|</span>
<a name="l121"><span class="linenum"> 121</span></a>  <span class="comment">*/</span>
<a name="l122"><span class="linenum"> 122</span></a>  <a class="var it6" onMouseOver="hilite(6)" onMouseOut="lolite()" onClick="logVariable('config')" href="_variables/config.html">$config</a>['user']['email'] = 'HTTP_EMAIL';
<a name="l123"><span class="linenum"> 123</span></a>  <a class="var it6" onMouseOver="hilite(6)" onMouseOut="lolite()" onClick="logVariable('config')" href="_variables/config.html">$config</a>['user']['firstname'] = 'HTTP_FIRSTNAME';
<a name="l124"><span class="linenum"> 124</span></a>  <a class="var it6" onMouseOver="hilite(6)" onMouseOut="lolite()" onClick="logVariable('config')" href="_variables/config.html">$config</a>['user']['lastname'] = 'HTTP_LASTNAME';
<a name="l125"><span class="linenum"> 125</span></a>  <a class="var it6" onMouseOver="hilite(6)" onMouseOut="lolite()" onClick="logVariable('config')" href="_variables/config.html">$config</a>['user']['nickname'] = 'HTTP_NICKNAME';
<a name="l126"><span class="linenum"> 126</span></a>  <a class="var it6" onMouseOver="hilite(6)" onMouseOut="lolite()" onClick="logVariable('config')" href="_variables/config.html">$config</a>['user']['common_name'] = 'HTTP_COMMON_NAME';
<a name="l127"><span class="linenum"> 127</span></a>  
<a name="l128"><span class="linenum"> 128</span></a>  <span class="comment">/*</span>
<a name="l129"><span class="linenum"> 129</span></a>  <span class="comment">|--------------------------------------------------------------------------</span>
<a name="l130"><span class="linenum"> 130</span></a>  <span class="comment">| Required user data from Identity Provider</span>
<a name="l131"><span class="linenum"> 131</span></a>  <span class="comment">|--------------------------------------------------------------------------</span>
<a name="l132"><span class="linenum"> 132</span></a>  <span class="comment">|</span>
<a name="l133"><span class="linenum"> 133</span></a>  <span class="comment">| The elements of the _SERVER variable, that contains the user's data and</span>
<a name="l134"><span class="linenum"> 134</span></a>  <span class="comment">| require to the application to create new user. If one of these elements is</span>
<a name="l135"><span class="linenum"> 135</span></a>  <span class="comment">| not exists the user can't login to the application.</span>
<a name="l136"><span class="linenum"> 136</span></a>  <span class="comment">| Use the data names that you add in the 'user' config (User data from</span>
<a name="l137"><span class="linenum"> 137</span></a>  <span class="comment">| Identity Provider).</span>
<a name="l138"><span class="linenum"> 138</span></a>  <span class="comment">| User name (from 'userName' config) is require the program. Do not set here.</span>
<a name="l139"><span class="linenum"> 139</span></a>  <span class="comment">| Type: array</span>
<a name="l140"><span class="linenum"> 140</span></a>  <span class="comment">| Syntax: array( '&lt;data name&gt;', ... );</span>
<a name="l141"><span class="linenum"> 141</span></a>  <span class="comment">| Default: -</span>
<a name="l142"><span class="linenum"> 142</span></a>  <span class="comment">| Usage: OpenSSO, Shibboleth</span>
<a name="l143"><span class="linenum"> 143</span></a>  <span class="comment">|</span>
<a name="l144"><span class="linenum"> 144</span></a>  <span class="comment">*/</span>
<a name="l145"><span class="linenum"> 145</span></a>  <a class="var it6" onMouseOver="hilite(6)" onMouseOut="lolite()" onClick="logVariable('config')" href="_variables/config.html">$config</a>['userRequire'] = array('email');
<a name="l146"><span class="linenum"> 146</span></a>  
<a name="l147"><span class="linenum"> 147</span></a>  <span class="comment">/*</span>
<a name="l148"><span class="linenum"> 148</span></a>  <span class="comment">|--------------------------------------------------------------------------</span>
<a name="l149"><span class="linenum"> 149</span></a>  <span class="comment">| Identity Provider's cookie</span>
<a name="l150"><span class="linenum"> 150</span></a>  <span class="comment">|--------------------------------------------------------------------------</span>
<a name="l151"><span class="linenum"> 151</span></a>  <span class="comment">|</span>
<a name="l152"><span class="linenum"> 152</span></a>  <span class="comment">| The name of the Identity Provider's cookie, that setted when a user logged in.</span>
<a name="l153"><span class="linenum"> 153</span></a>  <span class="comment">| Type: string</span>
<a name="l154"><span class="linenum"> 154</span></a>  <span class="comment">| Default: sunIdentityServerAuthNServer</span>
<a name="l155"><span class="linenum"> 155</span></a>  <span class="comment">| Usage: OpenSSO</span>
<a name="l156"><span class="linenum"> 156</span></a>  <span class="comment">|</span>
<a name="l157"><span class="linenum"> 157</span></a>  <span class="comment">*/</span>
<a name="l158"><span class="linenum"> 158</span></a>  <a class="var it6" onMouseOver="hilite(6)" onMouseOut="lolite()" onClick="logVariable('config')" href="_variables/config.html">$config</a>['idpCookie'] = 'sunIdentityServerAuthNServer';
<a name="l159"><span class="linenum"> 159</span></a>  
<a name="l160"><span class="linenum"> 160</span></a>  <span class="comment">/*</span>
<a name="l161"><span class="linenum"> 161</span></a>  <span class="comment">|--------------------------------------------------------------------------</span>
<a name="l162"><span class="linenum"> 162</span></a>  <span class="comment">| Identity Provider's Login URL</span>
<a name="l163"><span class="linenum"> 163</span></a>  <span class="comment">|--------------------------------------------------------------------------</span>
<a name="l164"><span class="linenum"> 164</span></a>  <span class="comment">|</span>
<a name="l165"><span class="linenum"> 165</span></a>  <span class="comment">| The Identity Provider's URL, that login the user.</span>
<a name="l166"><span class="linenum"> 166</span></a>  <span class="comment">| Type: string</span>
<a name="l167"><span class="linenum"> 167</span></a>  <span class="comment">| Default: https://idp.sch.bme.hu/opensso/UI/Login</span>
<a name="l168"><span class="linenum"> 168</span></a>  <span class="comment">| Usage: OpenSSO</span>
<a name="l169"><span class="linenum"> 169</span></a>  <span class="comment">|</span>
<a name="l170"><span class="linenum"> 170</span></a>  <span class="comment">*/</span>
<a name="l171"><span class="linenum"> 171</span></a>  <a class="var it6" onMouseOver="hilite(6)" onMouseOut="lolite()" onClick="logVariable('config')" href="_variables/config.html">$config</a>['idpLoginUrl'] = 'https://idp.sch.bme.hu/opensso/UI/Login';
<a name="l172"><span class="linenum"> 172</span></a>  
<a name="l173"><span class="linenum"> 173</span></a>  <span class="comment">/*</span>
<a name="l174"><span class="linenum"> 174</span></a>  <span class="comment">|--------------------------------------------------------------------------</span>
<a name="l175"><span class="linenum"> 175</span></a>  <span class="comment">| Identity Provider's Logout URL</span>
<a name="l176"><span class="linenum"> 176</span></a>  <span class="comment">|--------------------------------------------------------------------------</span>
<a name="l177"><span class="linenum"> 177</span></a>  <span class="comment">|</span>
<a name="l178"><span class="linenum"> 178</span></a>  <span class="comment">| The Identity Provider's URL, that logout the user.</span>
<a name="l179"><span class="linenum"> 179</span></a>  <span class="comment">| Type: string</span>
<a name="l180"><span class="linenum"> 180</span></a>  <span class="comment">| Default: https://idp.sch.bme.hu/opensso/UI/Logout</span>
<a name="l181"><span class="linenum"> 181</span></a>  <span class="comment">| Usage: OpenSSO, Shibboleth</span>
<a name="l182"><span class="linenum"> 182</span></a>  <span class="comment">|</span>
<a name="l183"><span class="linenum"> 183</span></a>  <span class="comment">*/</span>
<a name="l184"><span class="linenum"> 184</span></a>  <a class="var it6" onMouseOver="hilite(6)" onMouseOut="lolite()" onClick="logVariable('config')" href="_variables/config.html">$config</a>['idpLogoutUrl'] = 'https://idp.sch.bme.hu/opensso/UI/Logout';
<a name="l185"><span class="linenum"> 185</span></a>  
<a name="l186"><span class="linenum"> 186</span></a>  <span class="comment">/*</span>
<a name="l187"><span class="linenum"> 187</span></a>  <span class="comment">|--------------------------------------------------------------------------</span>
<a name="l188"><span class="linenum"> 188</span></a>  <span class="comment">| Identity Provider's URL parameter</span>
<a name="l189"><span class="linenum"> 189</span></a>  <span class="comment">|--------------------------------------------------------------------------</span>
<a name="l190"><span class="linenum"> 190</span></a>  <span class="comment">|</span>
<a name="l191"><span class="linenum"> 191</span></a>  <span class="comment">| Parameter of the URL that contains the URL where the Identity Provider</span>
<a name="l192"><span class="linenum"> 192</span></a>  <span class="comment">| redirect the user after the login or the logout action.</span>
<a name="l193"><span class="linenum"> 193</span></a>  <span class="comment">| Type: string</span>
<a name="l194"><span class="linenum"> 194</span></a>  <span class="comment">| Default: goto</span>
<a name="l195"><span class="linenum"> 195</span></a>  <span class="comment">| Usage: OpenSSO, Shibboleth</span>
<a name="l196"><span class="linenum"> 196</span></a>  <span class="comment">|</span>
<a name="l197"><span class="linenum"> 197</span></a>  <span class="comment">*/</span>
<a name="l198"><span class="linenum"> 198</span></a>  <a class="var it6" onMouseOver="hilite(6)" onMouseOut="lolite()" onClick="logVariable('config')" href="_variables/config.html">$config</a>['idpUrlParam'] = 'goto';
<a name="l199"><span class="linenum"> 199</span></a>  
<a name="l200"><span class="linenum"> 200</span></a>  <span class="comment">/*</span>
<a name="l201"><span class="linenum"> 201</span></a>  <span class="comment">|--------------------------------------------------------------------------</span>
<a name="l202"><span class="linenum"> 202</span></a>  <span class="comment">| Service Provider's Login URL</span>
<a name="l203"><span class="linenum"> 203</span></a>  <span class="comment">|--------------------------------------------------------------------------</span>
<a name="l204"><span class="linenum"> 204</span></a>  <span class="comment">|</span>
<a name="l205"><span class="linenum"> 205</span></a>  <span class="comment">| The Service Provider's URL, that login the user.</span>
<a name="l206"><span class="linenum"> 206</span></a>  <span class="comment">| Type: string</span>
<a name="l207"><span class="linenum"> 207</span></a>  <span class="comment">| Default: /Shibboleth.sso/Login</span>
<a name="l208"><span class="linenum"> 208</span></a>  <span class="comment">| Usage: Shibboleth</span>
<a name="l209"><span class="linenum"> 209</span></a>  <span class="comment">|</span>
<a name="l210"><span class="linenum"> 210</span></a>  <span class="comment">*/</span>
<a name="l211"><span class="linenum"> 211</span></a>  <a class="var it6" onMouseOver="hilite(6)" onMouseOut="lolite()" onClick="logVariable('config')" href="_variables/config.html">$config</a>['spLoginUrl'] = '/Shibboleth.sso/Login';
<a name="l212"><span class="linenum"> 212</span></a>  
<a name="l213"><span class="linenum"> 213</span></a>  <span class="comment">/*</span>
<a name="l214"><span class="linenum"> 214</span></a>  <span class="comment">|--------------------------------------------------------------------------</span>
<a name="l215"><span class="linenum"> 215</span></a>  <span class="comment">| Service Provider's Login URL parameter</span>
<a name="l216"><span class="linenum"> 216</span></a>  <span class="comment">|--------------------------------------------------------------------------</span>
<a name="l217"><span class="linenum"> 217</span></a>  <span class="comment">|</span>
<a name="l218"><span class="linenum"> 218</span></a>  <span class="comment">| Parameter of the URL that contains the URL where the Service Provider</span>
<a name="l219"><span class="linenum"> 219</span></a>  <span class="comment">| redirect the user after the login action.</span>
<a name="l220"><span class="linenum"> 220</span></a>  <span class="comment">| Type: string</span>
<a name="l221"><span class="linenum"> 221</span></a>  <span class="comment">| Default: target</span>
<a name="l222"><span class="linenum"> 222</span></a>  <span class="comment">| Usage: Shibboleth</span>
<a name="l223"><span class="linenum"> 223</span></a>  <span class="comment">|</span>
<a name="l224"><span class="linenum"> 224</span></a>  <span class="comment">*/</span>
<a name="l225"><span class="linenum"> 225</span></a>  <a class="var it6" onMouseOver="hilite(6)" onMouseOut="lolite()" onClick="logVariable('config')" href="_variables/config.html">$config</a>['spLoginUrlParam'] = 'target';
<a name="l226"><span class="linenum"> 226</span></a>  
<a name="l227"><span class="linenum"> 227</span></a>  <span class="comment">/*</span>
<a name="l228"><span class="linenum"> 228</span></a>  <span class="comment">|--------------------------------------------------------------------------</span>
<a name="l229"><span class="linenum"> 229</span></a>  <span class="comment">| Service Provider's Logout URL</span>
<a name="l230"><span class="linenum"> 230</span></a>  <span class="comment">|--------------------------------------------------------------------------</span>
<a name="l231"><span class="linenum"> 231</span></a>  <span class="comment">|</span>
<a name="l232"><span class="linenum"> 232</span></a>  <span class="comment">| The Service Provider's URL, that logout the user.</span>
<a name="l233"><span class="linenum"> 233</span></a>  <span class="comment">| Type: string</span>
<a name="l234"><span class="linenum"> 234</span></a>  <span class="comment">| Default: /Shibboleth.sso/Logout</span>
<a name="l235"><span class="linenum"> 235</span></a>  <span class="comment">| Usage: Shibboleth</span>
<a name="l236"><span class="linenum"> 236</span></a>  <span class="comment">|</span>
<a name="l237"><span class="linenum"> 237</span></a>  <span class="comment">*/</span>
<a name="l238"><span class="linenum"> 238</span></a>  <a class="var it6" onMouseOver="hilite(6)" onMouseOut="lolite()" onClick="logVariable('config')" href="_variables/config.html">$config</a>['spLogoutUrl'] = '/Shibboleth.sso/Logout';
<a name="l239"><span class="linenum"> 239</span></a>  
<a name="l240"><span class="linenum"> 240</span></a>  <span class="comment">/*</span>
<a name="l241"><span class="linenum"> 241</span></a>  <span class="comment">|--------------------------------------------------------------------------</span>
<a name="l242"><span class="linenum"> 242</span></a>  <span class="comment">| Service Provider's Logout URL parameter</span>
<a name="l243"><span class="linenum"> 243</span></a>  <span class="comment">|--------------------------------------------------------------------------</span>
<a name="l244"><span class="linenum"> 244</span></a>  <span class="comment">|</span>
<a name="l245"><span class="linenum"> 245</span></a>  <span class="comment">| Parameter of the URL that contains the URL where the Service Provider</span>
<a name="l246"><span class="linenum"> 246</span></a>  <span class="comment">| redirect the user after the logout action</span>
<a name="l247"><span class="linenum"> 247</span></a>  <span class="comment">| Type: string</span>
<a name="l248"><span class="linenum"> 248</span></a>  <span class="comment">| Default: return</span>
<a name="l249"><span class="linenum"> 249</span></a>  <span class="comment">| Usage: Shibboleth</span>
<a name="l250"><span class="linenum"> 250</span></a>  <span class="comment">|</span>
<a name="l251"><span class="linenum"> 251</span></a>  <span class="comment">*/</span>
<a name="l252"><span class="linenum"> 252</span></a>  <a class="var it6" onMouseOver="hilite(6)" onMouseOut="lolite()" onClick="logVariable('config')" href="_variables/config.html">$config</a>['spLogoutUrlParam'] = 'return';
<a name="l253"><span class="linenum"> 253</span></a>  
<a name="l254"><span class="linenum"> 254</span></a>  <span class="comment">/*</span>
<a name="l255"><span class="linenum"> 255</span></a>  <span class="comment">|--------------------------------------------------------------------------</span>
<a name="l256"><span class="linenum"> 256</span></a>  <span class="comment">| Trigger</span>
<a name="l257"><span class="linenum"> 257</span></a>  <span class="comment">|--------------------------------------------------------------------------</span>
<a name="l258"><span class="linenum"> 258</span></a>  <span class="comment">|</span>
<a name="l259"><span class="linenum"> 259</span></a>  <span class="comment">| Path to the trigger file or directory. (File or directory that the Service</span>
<a name="l260"><span class="linenum"> 260</span></a>  <span class="comment">| Provider save.)</span>
<a name="l261"><span class="linenum"> 261</span></a>  <span class="comment">| Type: string</span>
<a name="l262"><span class="linenum"> 262</span></a>  <span class="comment">| Default: /trigger.php</span>
<a name="l263"><span class="linenum"> 263</span></a>  <span class="comment">| Usage: OpenSSO</span>
<a name="l264"><span class="linenum"> 264</span></a>  <span class="comment">|</span>
<a name="l265"><span class="linenum"> 265</span></a>  <span class="comment">*/</span>
<a name="l266"><span class="linenum"> 266</span></a>  <a class="var it6" onMouseOver="hilite(6)" onMouseOut="lolite()" onClick="logVariable('config')" href="_variables/config.html">$config</a>['trigger'] = '<a class="filename" href="trigger.php.html">/trigger.php</a>';
<a name="l267"><span class="linenum"> 267</span></a>  
<a name="l268"><span class="linenum"> 268</span></a>  <span class="comment">/*</span>
<a name="l269"><span class="linenum"> 269</span></a>  <span class="comment">|--------------------------------------------------------------------------</span>
<a name="l270"><span class="linenum"> 270</span></a>  <span class="comment">| Application's Login page</span>
<a name="l271"><span class="linenum"> 271</span></a>  <span class="comment">|--------------------------------------------------------------------------</span>
<a name="l272"><span class="linenum"> 272</span></a>  <span class="comment">|</span>
<a name="l273"><span class="linenum"> 273</span></a>  <span class="comment">| URL of the Application's login page.</span>
<a name="l274"><span class="linenum"> 274</span></a>  <span class="comment">| Type: string</span>
<a name="l275"><span class="linenum"> 275</span></a>  <span class="comment">| Default: -</span>
<a name="l276"><span class="linenum"> 276</span></a>  <span class="comment">| Usage: OpenSSO</span>
<a name="l277"><span class="linenum"> 277</span></a>  <span class="comment">|</span>
<a name="l278"><span class="linenum"> 278</span></a>  <span class="comment">*/</span>
<a name="l279"><span class="linenum"> 279</span></a>  <a class="var it6" onMouseOver="hilite(6)" onMouseOut="lolite()" onClick="logVariable('config')" href="_variables/config.html">$config</a>['loginPage'] = '';
<a name="l280"><span class="linenum"> 280</span></a>  
<a name="l281"><span class="linenum"> 281</span></a>  <span class="comment">/*</span>
<a name="l282"><span class="linenum"> 282</span></a>  <span class="comment">|--------------------------------------------------------------------------</span>
<a name="l283"><span class="linenum"> 283</span></a>  <span class="comment">| Application's URL parameter</span>
<a name="l284"><span class="linenum"> 284</span></a>  <span class="comment">|--------------------------------------------------------------------------</span>
<a name="l285"><span class="linenum"> 285</span></a>  <span class="comment">|</span>
<a name="l286"><span class="linenum"> 286</span></a>  <span class="comment">| Parameter of the URL that contains the path where the application redirect</span>
<a name="l287"><span class="linenum"> 287</span></a>  <span class="comment">| the user after the login or the logout action. This path is point to the</span>
<a name="l288"><span class="linenum"> 288</span></a>  <span class="comment">| last page that the user visit before the login/logout action started.</span>
<a name="l289"><span class="linenum"> 289</span></a>  <span class="comment">| Type: string</span>
<a name="l290"><span class="linenum"> 290</span></a>  <span class="comment">| Default: -</span>
<a name="l291"><span class="linenum"> 291</span></a>  <span class="comment">| Usage: OpenSSO, Shibboleth</span>
<a name="l292"><span class="linenum"> 292</span></a>  <span class="comment">|</span>
<a name="l293"><span class="linenum"> 293</span></a>  <span class="comment">*/</span>
<a name="l294"><span class="linenum"> 294</span></a>  <a class="var it6" onMouseOver="hilite(6)" onMouseOut="lolite()" onClick="logVariable('config')" href="_variables/config.html">$config</a>['urlParam'] = 'return';
<a name="l295"><span class="linenum"> 295</span></a>  
<a name="l296"><span class="linenum"> 296</span></a>  <span class="comment">/*</span>
<a name="l297"><span class="linenum"> 297</span></a>  <span class="comment">|--------------------------------------------------------------------------</span>
<a name="l298"><span class="linenum"> 298</span></a>  <span class="comment">| Downtime start</span>
<a name="l299"><span class="linenum"> 299</span></a>  <span class="comment">|--------------------------------------------------------------------------</span>
<a name="l300"><span class="linenum"> 300</span></a>  <span class="comment">|</span>
<a name="l301"><span class="linenum"> 301</span></a>  <span class="comment">| The first time when the IDP or the SP is down.</span>
<a name="l302"><span class="linenum"> 302</span></a>  <span class="comment">| Type: string</span>
<a name="l303"><span class="linenum"> 303</span></a>  <span class="comment">| Default: -</span>
<a name="l304"><span class="linenum"> 304</span></a>  <span class="comment">| Usage: OpenSSO, Shibboleth</span>
<a name="l305"><span class="linenum"> 305</span></a>  <span class="comment">|</span>
<a name="l306"><span class="linenum"> 306</span></a>  <span class="comment">*/</span>
<a name="l307"><span class="linenum"> 307</span></a>  <a class="var it6" onMouseOver="hilite(6)" onMouseOut="lolite()" onClick="logVariable('config')" href="_variables/config.html">$config</a>['downtimeStart'] = '';
<a name="l308"><span class="linenum"> 308</span></a>  
<a name="l309"><span class="linenum"> 309</span></a>  <span class="comment">/*</span>
<a name="l310"><span class="linenum"> 310</span></a>  <span class="comment">|--------------------------------------------------------------------------</span>
<a name="l311"><span class="linenum"> 311</span></a>  <span class="comment">| Downtime end</span>
<a name="l312"><span class="linenum"> 312</span></a>  <span class="comment">|--------------------------------------------------------------------------</span>
<a name="l313"><span class="linenum"> 313</span></a>  <span class="comment">|</span>
<a name="l314"><span class="linenum"> 314</span></a>  <span class="comment">| The first time when the IDP or the SP is not down (up).</span>
<a name="l315"><span class="linenum"> 315</span></a>  <span class="comment">| Type: string</span>
<a name="l316"><span class="linenum"> 316</span></a>  <span class="comment">| Default: -</span>
<a name="l317"><span class="linenum"> 317</span></a>  <span class="comment">| Usage: OpenSSO, Shibboleth</span>
<a name="l318"><span class="linenum"> 318</span></a>  <span class="comment">|</span>
<a name="l319"><span class="linenum"> 319</span></a>  <span class="comment">*/</span>
<a name="l320"><span class="linenum"> 320</span></a>  <a class="var it6" onMouseOver="hilite(6)" onMouseOut="lolite()" onClick="logVariable('config')" href="_variables/config.html">$config</a>['downtimeEnd'] = '';
<a name="l321"><span class="linenum"> 321</span></a>  
<a name="l322"><span class="linenum"> 322</span></a>  ?&gt;
</pre>
</div>
<script language="JavaScript" type="text/javascript">
FUNC_DATA={
'defined': ['defined', '', [], 2]};
CLASS_DATA={
};
CONST_DATA={
'SSOCONFIG': ['SSOCONFIG', '', [['','open-sso.abstract.php',268]], 3]};
</script>
<div id="func-popup" class="funcpopup"><p id="func-title" class="popup-title">title</p><p id="func-desc" class="popup-desc">Description</p><p id="func-body" class="popup-body">Body</p></div>
<div id="class-popup" class="funcpopup"><p id="class-title" class="popup-title">title</p><p id="class-desc" class="popup-desc">Description</p><p id="class-body" class="popup-body">Body</p></div>
<div id="const-popup" class="funcpopup"><p id="const-title" class="popup-title">title</p><p id="const-desc" class="popup-desc">Description</p><p id="const-body" class="popup-body">Body</p></div>
<div id="req-popup" class="funcpopup"><p id="req-title" class="popup-title">title</p><p id="req-body" class="popup-body">Body</p></div>
<!-- A link to the phpxref site in your customized footer file is appreciated ;-) -->
<br><hr>
<table width="100%">
	<tr><td>Generated: Fri Jan  8 00:38:44 2010</td>
	<td align="right"><i>Cross-referenced by <a href="http://phpxref.sourceforge.net/">PHPXref 0.7</a></i></td>
	</tr>
</table>
</body></html>
